package com.xiu.travel.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.experimental.Accessors;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
import lombok.*;
import java.io.Serial;

/**
 * <p>
 * 系统角色表
 * </p>
 *
 * @author YuLing
 * @since 2023-10-13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
 
@TableName("sys_role")
@Schema(name = "SysRole对象",description = "系统角色表")
public class SysRole extends BasePojo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
     @Schema(name = "id",description = "")
    @TableField("id")
    private Long id;

    /**
     * 
     */
     @Schema(name = "name",description = "")
    @TableField("name")
    private String name;

    /**
     * 
     */
     @Schema(name = "role_key",description = "")
    @TableField("role_key")
    private String roleKey;

}
